package 锁.lock.ProduceConsumer;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2023/9/5 15:36
 * @description:
 * @version:
 */
public class test2 {
    public static void main(String[] args) {
        ProduceCost produceCost = new ProduceCost();
        int j = 0;
        A a = new A(produceCost);
        a.setName("A");
        a.start();
        B b = new B(produceCost);
        b.setName("B");
        b.start();
    }
}

